package com.example.hoasbackend.model.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author lhx
 * @since 2022-03-03
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("hbs_indent_operation")
@ApiModel(value="IndentOperation对象", description="")
public class IndentOperation extends Model<IndentOperation> {

    private static final long serialVersionUID = 1L;
    @JsonSerialize(using= ToStringSerializer.class)
    private Long id;
    @JsonSerialize(using= ToStringSerializer.class)
    private Long indentId;
    @JsonSerialize(using= ToStringSerializer.class)
    private Long type;

    private String data;

    private LocalDateTime date;
    @JsonSerialize(using= ToStringSerializer.class)
    private Long userid;
    @JsonSerialize(using= ToStringSerializer.class)
    private Long modifierId;


    @Override
    protected Serializable pkVal() {
        return null;
    }

}
